import React from 'react';

import './MainPopup.css'

const MainPopup = (props) => {
    const {display,handleOnClick} = props
    // console.log('displsy',display);
    return (
       <div onClick={()=>{
           handleOnClick()
       }} style={display?{}:{display:"none"}}>
        <div className='popupContainer'>
            <div className="popup-item">
                <span className="test iconfont">&#xe735; 帮助中心</span>
            </div>
            <div className="popup-item">
                <span className="test iconfont"> &#xe64a; 联系我们</span>
            </div>
            <span className='popup-triangle'></span>
        </div>
        </div>
    )
}

export default MainPopup